<?php
/**
 * User: yimudi
 * Email: aphie1900@sina.com
 * Date & Time: 2017/9/7 12:04
 */

namespace app\api\validate;


class IDMustBePositiveInt extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger',
    ];

    protected $message = [
        'id' => 'id必须是正整数'
    ];

}